<template>
<div>
<hl>{{msg}}<hl>
</div>
</template>
<script>
export default{
    setup(){
        //子组件的setup应该返回一个promise
        return new Promise((reslove,reject)=>{
            setTimeout(()=>{
                reslove(
                    {
                        msg:"HelloContent!"
                    }
                )
            },2000)
        })
    }
}
<script>
<style>
</stle>